package com.shaunstone.web.sports.dal.dao.repo;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.shaunstone.web.sports.dal.model.League;

@Repository
public interface LeagueRepository extends CrudRepository<League, Integer> {
	//
	League findById(int id);

	League findByName(String name);

}
